package com.smag.system.domain.vo;

import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.util.List;

@Data
@NoArgsConstructor
@Accessors(chain = true)
public class CategoryVo {

    private Long id;

    private String name;

    private List<CategoryVo> children;
    public CategoryVo(Long id,String name){
        this.id = id;
        this.name = name;
    }
}
